package com.ty.day4.home;

/**
 * Created by IntelliJ IDEA.
 *
 * @author : txy
 * @create : 2023/11/17 17:42
 */
public class WildGoose extends Bird implements Fly {
    @Override
    public void doneEgg() {
        System.out.println();
    }

    @Override
    public void fly() {
        System.out.println("可以飞");
    }
}

interface Fly {
    void fly();
}
